﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY copy "&#169;">
  <!ENTITY nbsp "&#160;">
  <!ENTITY laquo "&#171;">
  <!ENTITY raquo "&#187;">
]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">


  <xsl:include href="../layout.xsl"/>
  <xsl:include href="../pager.xsl"/>

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <xsl:template match="content">
    <h1>
      <xsl:value-of select="$Main/data/title"/>
    </h1>

    <xsl:value-of select="$Main/data/body" disable-output-escaping="yes"/>
<div class="news-switcher">
          <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <tbody>
              <tr>
                <td width="33%">
                 <xsl:if test="$Main/nextback/back">
                    <a href="/{$Controller}/{$Main/nextback/back/idt}">
                   <!--    <span class="arrow">← </span>-->

                      <xsl:value-of select="$Main/nextback/back/title"/>
 

                    </a>
                  </xsl:if>
                </td>
               <td align="center" width="33%">
                    <a href="/{$Controller}">

                    <xsl:choose>
                      <xsl:when test="$Lang = 'ua'">Повернутись до списку</xsl:when>
                      <xsl:when test="$Lang = 'ru'">Вернуться к списку</xsl:when>
                      <xsl:when test="$Lang = 'en'">Back to list</xsl:when>
                    </xsl:choose>

                  </a> 
                </td>
                <td align="right" width="33%">
                  <xsl:if test="$Main/nextback/next">
                    <a href="/{$Controller}/{$Main/nextback/next/idt}">

                      <xsl:value-of select="$Main/nextback/next/title"/>


                     <!-- <span class="arrow"> →</span>-->
                    </a>
                  </xsl:if>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
  </xsl:template>
</xsl:stylesheet>